home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGMISC
/
MODULTUB.LZH
/
FIRSTEX.MOD
< prev
next >
Wrap
Text File
|
1989-01-18
|
833b
|
41 lines
MODULE FirstEx;
FROM InOut IMPORT WriteLn, WriteString, WriteCard;
VAR Index : CARDINAL;
BEGIN
WriteString("This is our first example program");
WriteLn;
WriteLn;
FOR Index := 1 TO 12 DO
WriteString("The value of the index is now ");
WriteCard(Index,3);
WriteLn;
END
END FirstEx.
(* Result of execution
This is our first example program
The value of the index is now 1
The value of the index is now 2
The value of the index is now 3
The value of the index is now 4
The value of the index is now 5
The value of the index is now 6
The value of the index is now 7
The value of the index is now 8
The value of the index is now 9
The value of the index is now 10
The value of the index is now 11
The value of the index is now 12
*)